body {
    margin: 0 auto;
    padding: 0;
    font-family: 'SCG', sans-serif;
    scroll-behavior: smooth;
    word-wrap: break-word;
    word-break: keep-all;
    position: relative;
    overflow-x: hidden;
}

body, html {
    height: 100%;
}

.nav .open>a, .nav .open>a:hover, .nav .open>a:focus {
    background-color: transparent;
}

/*-------------------------------*/

/*           Wrappers            */

/*-------------------------------*/

* {
    box-sizing: border-box;
}

/* This stylesheet generated by Transfonter (https://transfonter.org) on November 27, 2017 8:48 AM */

@font-face {
    font-family: 'SCG';
    src: url('../css/font-face/SCG-Regular.eot');
    src: url('../css/font-face/SCG-Regular.eot?#iefix') format('embedded-opentype'), url('../css/font-face/SCG-Regular.woff') format('woff'), url('../css/font-face/SCG-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

#wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
    padding-left: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.siamtohcello {
    width: 100%;
    height: auto;
    margin: 0 auto;
}

/*banner*/

#block {
    margin: 0 0 65px 0;
}

.text-banner {
    position: absolute;
    top: 12%;
    left: 50%;
    margin-left: -340px;
    margin-top: -60px;
    text-align: center;
    color: white;
    font-size: 20px;
    z-index: 9;
}

.text-banner h1 {
    text-shadow: 1px 3px 2px gray;
}

.btn-banner {
    position: absolute;
    top: 129%;
    left: 50%;
    margin-left: -65px;
    background-color: #3A7CD2;
    border-radius: 20px;
    padding: 5px 35px;
    color: white;
    outline: none;
    font-size: 20px;
    font-weight: bold;
    border: none;
    z-index: 9;
}

.btn-banner:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    opacity: 0.9;
}

/* text banner responsive */

.text-banner-res {
    position: absolute;
    top: 12%;
    left: 50%;
    margin-left: -123px;
    margin-top: -60px;
    text-align: center;
    color: white;
    font-size: 14px;
    z-index: 9;
}

.text-banner-res h1 {
    text-shadow: 1px 3px 2px gray;
}

.btn-banner-res {
    position: absolute;
    top: 118%;
    left: 50%;
    margin-left: -49px;
    background-color: #3A7CD2;
    border-radius: 20px;
    padding: 5px 20px;
    color: white;
    outline: none;
    font-size: 14px;
    font-weight: bold;
    border: none;
    z-index: 9;
}

.btn-banner-res:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    opacity: 0.9;
}

.banner-video {
    background-image: url(../img/home/STC_Presentation.gif);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    width: 100%;
    height: 650px;
    position: relative;
    margin: 0 0 50px 0;
}

.slide {
    overflow: hidden;
}

.bg-gray {
    background-color: #F7F7F7;
    width: 95%;
}

.cate {
    background-color: #377DD3;
    padding: 2px 20px;
    position: absolute;
    color: white;
    border-radius: 5px;
    z-index: 1;
    margin-top: 15px;
    margin-left: 20px;
}

.cover-content img {
    position: relative;
}

.cate p {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
}

.text-news-event {
    padding: 20px;
}

.txt-head-col {
    height: 66px !important;
    color: #377DD3;
    font-size: 20px;
    font-weight: bold;
}

.txt-sub-col {
    height: 106px;
    max-height: 224px;
    overflow: hidden;
}

.bt-top {
    margin-top: 30px;
}

.carousel {
    margin-top: 50px;
}

.fa-chevron-left {
    top: 50px;
}
